<%@ taglib uri="http://fckeditor.net/tags-fckeditor" prefix="FCK" %>
<%@ page language="java" import="com.fredck.FCKeditor.*" %>

<%--
<FCK:editor id="EditorDefault" basePath="/gapp/FCKeditor/"
				imageBrowserURL="/gapp/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector"
				linkBrowserURL="/gapp/FCKeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector"
				flashBrowserURL="/gapp/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector"
				imageUploadURL="/gapp/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Image"
				linkUploadURL="/gapp/FCKeditor/editor/filemanager/upload/simpleuploader?Type=File"
				flashUploadURL="/gapp/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Flash">
				This is some <strong>sample text</strong>. You are using <a href="http://www.fredck.com/fckeditor/">FCKeditor</a>.
</FCK:editor>
--%>





<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <link type="text/css" rel="stylesheet" href="${createLinkTo(dir:'css/csslxh',file:'lxh.css')}">
  <script type="text/javascript" src="../FCKeditor/fckeditor.js"></script> 
  <title></title>
</head>

<body>
<form action="doFck" method="post">
<!-- 调用方法一 -->
<%--
<%
FCKeditor oFCKeditor ;
oFCKeditor = new FCKeditor( request, "content" ) ;
oFCKeditor.setBasePath( "../FCKeditor/" ) ;
oFCKeditor.setValue( "This is some <strong>sample text</strong>. You are using <a href=\"http://www.fredck.com/fckeditor/\">FCKeditor</a>." );
out.println( oFCKeditor.create() ) ;
%>
--%>
<br>

<!-- 调用方法二 -->

<textarea id="content" name="content" style="WIDTH: 100%; HEIGHT: 400px">input</textarea>
<script type="text/javascript">
var oFCKeditor = new FCKeditor('content') ;
oFCKeditor.BasePath = "../FCKeditor/" ;
oFCKeditor.Height = 400;
oFCKeditor.ToolbarSet = "Lxhbar" ; //Default, Basic 
oFCKeditor.ReplaceTextarea();
</script> 

<div width="100%" align="right">
	<input type=submit class="btnGray" value=提交>&nbsp;<input type="button" class="btnGray" value="取消" onclick="history.back()">
</div>

</form>

</body>
</html>
